import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {RoleEditComponent} from './edit/role-edit.component';
import {RoleListComponent} from './list/role-list.component';
import {RoleFuncComponent} from './func/role-func.component';
import {RoleManageComponent} from './manage/role-manage.component';
import {GnCrudModule} from "geminis-ng";

const routes: Routes = [
  // {path: '', component: RoleListComponent}
];

@NgModule({
  declarations: [
    RoleListComponent,
    RoleEditComponent,
    RoleFuncComponent,
    RoleManageComponent
  ],
  imports: [
    RouterModule.forChild(routes),

    GnCrudModule
  ],
  exports: [
    RoleListComponent,
    RoleEditComponent,
    RoleFuncComponent,
    RoleManageComponent
  ],
  entryComponents: [
    RoleEditComponent,
    RoleFuncComponent,
    RoleManageComponent
  ]
})

export class RoleModule {
}
